package com.baige.api.app.sdk.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 系统消息返回对象
 * @author wulg
 * @date 2018/12/13.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "MessageResponse", description = "系统消息返回对象")
public class MessageResponse implements Serializable
{
    @ApiModelProperty(value = "消息id")
    private String id;
    @ApiModelProperty(value = "消息类型(1.优惠卷;2.物流)")
    private int messageNotifyType;
    @ApiModelProperty(value = "是否已读")
    private boolean read;
    @ApiModelProperty(value = "创建时间")
    private long createTime;
    @ApiModelProperty(value = "消息标题")
    private String title;
    @ApiModelProperty(value = "消息内容")
    private String content;
    @ApiModelProperty(value = "扩展字段")
    private String extensionField;
    @ApiModelProperty(value = "跳转url")
    private String linkUrl;
    @ApiModelProperty(value = "图片路径")
    private String coverImageURL;
}
